package com.ohos.connect.devicecloud.app.modular.user.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * APP用户添加参数
 *
 *
 * 
 **/
@Getter
@Setter
public class AppUserInsertDTO {

    /** 账号 */
    @ApiModelProperty(value = "账号", required = true, position = 1)
    @NotBlank(message = "account不能为空")
    private String account;

    /** 性别 */
    @ApiModelProperty(value = "密码", required = true, position = 2)
    private String password;

    /** 手机 */
    @ApiModelProperty(value = "手机", required = true, position = 3)
    private String phone;

    /** 验证码 */
    @ApiModelProperty(value = "验证码", required = true, position = 4)
    private String validCode;

    /** 验证码请求号 */
    @ApiModelProperty(value = "验证码请求号", required = true, position = 5)
    private String validCodeReqNo;

}
